home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 23 / CU Amiga - Super CD-ROM 23 (June 1998).iso / CUCD / Programming / AMOSList / AMOSLIST / text0092.txt < prev    next >
Encoding:
Text File  |  1998-04-01  |  1.0 KB  |  25 lines

  1. On 09-Mar-98, Lee smashed the keyboard with:
  2. > a=asc("5") sets a to 5 ????
  3.  
  4. No it don't, a will be set to the ASCII code of the character '5', this is
  5. $35(=53) as far as I remeber off hand..
  6.  
  7. Use 
  8. a=Val("5") or the more tricky: a=Asc("5")-$30
  9.  
  10. -- 
  11. Kind regards from
  12. ______________________________________________________________________________
  13.  /_  __/ __  / __  /\  ___\  __ \__  _\               aka. JENS VANG PETERSEN
  14.   / / / /_/ / ____/  \ \___\  __ \ \ \                  top_cat@post8.tele.dk
  15.  /_/ /_____/_/        \_____\_\ \_\ \_\
  16. ------------------------------------------------------------------------------
  17.                     http://home8.inet.tele.dk/top_cat/
  18.   -+-    Home of 'The Ultimate Extension list' for AMOS TC & AMOS PRO    -+-
  19.                  -+-  SUPPORT - AMOS - AMIGA - AQUA  -+-
  20. ------------------------------------------------------------------------------
  21.  If a train station is where the train stops, what's a work station?
  22. ------------------------------------------------------------------------------
  23.  
  24.  
  25.